/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package otcapp.controlador.jinternalFrame;

import javax.swing.JButton;
import javax.swing.JPanel;
import otcapp.controlador.jpanels.CabeceraJPanelPrincipal;

/**
 *
 * @author diego
 */
public class ConsultarPiezasPantalla extends javax.swing.JInternalFrame {

    /**
     * Creates new form ConsultarPiezasPantalla
     */
    public ConsultarPiezasPantalla() {
        initComponents();
    }

    public JButton getBtnHabilitarBusqueda() {
        return btnHabilitarBusqueda;
    }

    public JButton getBtnSalir() {
        return btnSalir;
    }

    public JPanel getContenedor() {
        return contenedor;
    }

    public CabeceraJPanelPrincipal getCabeceraJPanelPrincipal() {
        return cabeceraJPanelPrincipal;
    }
    
    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        contenedor = new javax.swing.JPanel();
        jToolBar1 = new javax.swing.JToolBar();
        btnHabilitarBusqueda = new javax.swing.JButton();
        btnSalir = new javax.swing.JButton();
        cabeceraJPanelPrincipal = new otcapp.controlador.jpanels.CabeceraJPanelPrincipal("Buscar Pieza");

        setBorder(javax.swing.BorderFactory.createEtchedBorder());

        contenedor.setBackground(new java.awt.Color(102, 102, 102));
        contenedor.setLayout(new java.awt.CardLayout());

        jToolBar1.setBorder(null);
        jToolBar1.setFloatable(false);
        jToolBar1.setRollover(true);

        btnHabilitarBusqueda.setIcon(new javax.swing.ImageIcon(getClass().getResource("/otcapp/utiles/imagenes/iconos/Search-30.png"))); // NOI18N
        btnHabilitarBusqueda.setToolTipText("Buscar Piezas");
        btnHabilitarBusqueda.setFocusable(false);
        btnHabilitarBusqueda.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnHabilitarBusqueda.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        jToolBar1.add(btnHabilitarBusqueda);

        btnSalir.setIcon(new javax.swing.ImageIcon(getClass().getResource("/otcapp/utiles/imagenes/iconos/Log-out-30.png"))); // NOI18N
        btnSalir.setToolTipText("Salir");
        btnSalir.setFocusable(false);
        btnSalir.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        btnSalir.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        jToolBar1.add(btnSalir);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jToolBar1, javax.swing.GroupLayout.DEFAULT_SIZE, 836, Short.MAX_VALUE)
            .addComponent(contenedor, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(cabeceraJPanelPrincipal, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(cabeceraJPanelPrincipal, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jToolBar1, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(contenedor, javax.swing.GroupLayout.DEFAULT_SIZE, 346, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnHabilitarBusqueda;
    private javax.swing.JButton btnSalir;
    private otcapp.controlador.jpanels.CabeceraJPanelPrincipal cabeceraJPanelPrincipal;
    private javax.swing.JPanel contenedor;
    private javax.swing.JToolBar jToolBar1;
    // End of variables declaration//GEN-END:variables
}
